using Gtk;
using System;

namespace Serpis
{
	public static class SpinButtonExtension
	{
		public static void SetBounds(this SpinButton spinButton, int minValue, int maxValue, uint decimals) {
			spinButton.Adjustment.Lower= minValue;
			spinButton.Adjustment.Upper= maxValue;
			spinButton.Digits= decimals;
		}
	}
}
